<template>
	<view class="list">
		<view class="list-items">
			<li class="list-cover">
				<image class="list-avatar" src="/static/message-me.png" mode=""></image>
			</li>
		</view>
		<view class="list-module">
			<h2>系统消息</h2>
			<li>最新热门活动看这里!</li>
		</view>
		<view class="demo01">

			<slot name="task-methods"></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name:"task-moduel",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.list{
	background-color: skyblue;
	align-items: center;
	height: 140rpx;
	position: relative;
	display: flex;
	.list-items{
		display: block;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		margin-left: 20rpx;
		.list-cover{
			width: 100rpx;
			height: 100rpx;
			background-color: bisque;
			display: flex;
			border-radius: 28rpx;
			border-radius: 100%;
		}
		.list-avatar{
			height: 60rpx;
			width: 60rpx;
			margin: auto;
		}
	}
	.list-module{
		margin-left: 10rpx;
	}
	.demo01{
		position: absolute;	
		right: 0;
		padding: 5rpx 15rpx;
		background-color: orange;
		border-radius: 30rpx;
		color: #fff;
	}
}
</style>